{%extends "VWCommonLoginBundle:Default:index.html.twig"%}

{% block stylesheets %}
<link href="{{ asset('bundles/vwcommonlogin/css/signin.css') }}" rel="stylesheet">
{% endblock %}
{% block container %}

<div class="container">

    <form class="form-signin" method="post" action="{{path('vw_common_login_homepage')}}">
        <h2 class="form-signin-heading">Please sign in</h2>
        {% if name is defined %}
        <div class="alert-info fade in text-center">
            <strong>Welcome User, You are logged in now.</strong>
        </div>
        {%endif%}
        {% if error is defined %}
        <div class="alert-dismissable fade in text-center">
            <strong>{{error}}</strong>
        </div>
        {%endif%}
        <input type="email" name="email" id="email" class="form-control" placeholder="Email address" autofocus>
        <input type="password" name="password" id="password" class="form-control" placeholder="Password">
        <label class="checkbox">
            <input type="checkbox" value="remember-me"> Remember me
        </label>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> <a href="{{path('vw_common_login_signup')}}">Sign Up</a>
    </form>

</div> <!-- /container -->
{% endblock %}

{% block javascripts %}{% endblock %}